#ifndef _CREATURES_H
#define _CREATURES_H

typedef struct
{
        int id;
        int type;
        int degats;
        int nbPV;
        int butin;
        int positionx;
        int positiony;
        int positionxprec;
} Creature;

int getCreaId(const Creature *pCreature);
int getCreaType(const Creature *pCreature);
int getCreaDegats(const Creature *pCreature);
int getCreaNbPV(const Creature *pCreature);
int getCreaButin(const Creature *pCreature);
int getCreaPositionx(const Creature *pCreature);
int getCreaPositiony(const Creature *pCreature);
int getCreaPositionxPrec(const Creature *pCreature);
void setCreaId(Creature *pCreature, const int idRecu);
void setCreaType(Creature *pCreature, const int typeRecu);
void setCreaDegats(Creature *pCreature, const int degatsRecu);
void setCreaNbPV(Creature *pCreature, const int nbPVRecu);
void setCreaButin(Creature *pCreature, const int butinRecu);
void setCreaPositionx(Creature *pCreature, const int positionxRecu);
void setCreaPositiony(Creature *pCreature, const int positionyRecu);
void setCreaPositionxPrec(Creature *pCreature, const int positionxPrecRecu);

Creature* creerNouvelleCreature(int type, int id);

#endif
